<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="view/admin/style/basic.css" />
<link rel="stylesheet" type="text/css" href="view/admin/style/commend.css" />
<title>Insert title here</title>
</head>
<body>
    <h2><a href="?a=commend">返回评价列表</a>商品 -- 修改评价</h2>
    <form method="post" name="add" action="?a=commend&m=update&id={$oneCommend[0]->id}">
        <dl class="form">
            <dd>商品名称：{$smarty.get.name}</dd>
            <dd>购买属性：{$oneCommend[0]->attr}</dd>
            <dd>评 价 者：{$oneCommend[0]->user}</dd>
            <dd>评价星级：<span class="star">{html_radios options=$star name="star" checked=$star_checked}</span></dd>
            <dd><span class="middle">评价内容：</span><textarea name="content">{$oneCommend[0]->content}</textarea></dd>
            <dd><span class="middle">回复内容：</span><textarea name="re_content">{$oneCommend[0]->re_content}</textarea></dd>
            <dd>是否屏蔽：<input type="radio" name="is_block" value="0" {if $oneCommend[0]->is_block == 0}checked="checked"{/if} />否 <input type="radio" name="is_block" value="1" {if $oneCommend[0]->is_block == 1}checked="checked"{/if}>是</dd>
            <dd><input type="submit" name="send" value="修改评价" class="submit"/></dd>
        </dl>
    </form>
</body>
</html>